package com.mapforge.collection;

public interface Cache<T> extends InstanceProvider<T> {

	public void setFactory(Factory<T> factory);

	public Factory<T> getFactory();

	public boolean cacheInstance(T t);

	public boolean isEmpty();
}